-- CALC_HOLY_ITEMS_8125_PROP

-- 计算圣器【不朽之杯】的基础属性
-- @param user 玩家对象
-- @param classId 装备对象id
return function(user, classId)
    local level = HolyItemsM.getBaseLevel(classId);

    if level == 0 then
        return {{200, "magic", 1, -1,}, {713, 7241, 2, -1,},};
    end

    -- 升级到9级及之前，每次升级：魔力+1
    -- 4级升到5级时：每进入下一层，获得1瓶精血
    -- 9级升级到10级：魔力+2、 每进入下一层，获得1瓶精血
    if level > 0 and level <= 4 then
        return {{200, "magic", 1 + level, -1,}, {713, 7241, 2, -1,},};
    end

    if level > 4 and level <= 9 then
        return {{200, "magic", 1 + level, -1,}, {712, 7241, 2, -1,},};
    end

    if level == 10 then
        return {{200, "magic", 12, -1,}, {709, 7241, 2, -1,},};
    end

    return {};
end